<template>
  <div class="common-layout">
    <el-container>
      <el-aside class="common-aside">
        <Menu />
      </el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>
          <MyProject />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
import Menu from "@/views/Common/menu.vue";
import MyProject from "@/views/MyProject/index.vue";
</script>
<style scoped lang="scss">
.common-layout {
  width: 100%;
  height: 100%;
  > .el-container {
    width: 100%;
    height: 100%;

    .common-aside {
      width: fit-content;
    }
    .el-container {
      width: 100%;
      height: 100%;
      flex-direction: column;
      .el-header {
        width: 100%;
        height: 45px;
        background: #ffffff;
        box-shadow: 0 1px 1px gray;
        line-height: 45px;
        padding: 0 20px;
        text-align: right;
      }
      .el-main {
        width: 100%;
        height: calc(100% - 45px);
        padding: 10px;
      }
    }
  }
}
</style>
